package org.hertsig.entities;

import lombok.Getter;

import com.google.common.collect.HashMultiset;
import com.google.common.collect.Multiset;

public class Deck {
	@Getter private final Multiset<String> mainDeck = HashMultiset.create();
	@Getter private final Multiset<String> sideboard = HashMultiset.create();
	
	public void addMain(String name, int count) {
		mainDeck.add(name, count);
	}
	
	public void addSideboard(String name, int count) {
		sideboard.add(name, count);
	}
	
	@Override
	public String toString() {
		return "Main deck: " + mainDeck + "\nSideboard: " + sideboard;
	}
}
